home *** CD-ROM | disk | FTP | other *** search
- %case defineItem%
- %if commandNr > 999%
- const short c%MenuName%%MenuItemName%% %= %commandNr%;
- %endif%
- %case includeDialog%
- %if dialogExists%
- #ifndef __U%dlogname%__
- #include "U%dlogname%.h"
- #endif
-
- %endif%
- %case doItem.decl%
- %if commandNr > 999%
- %if dialogExists%
- %if modeless%
- virtual pascal void Do%MenuItemName% (void);
- %endif%
- %endif%
- %endif%
- %case doItem%
- %if commandNr > 999%
- %if dialogExists%
- %if modeless%
- #pragma segment ASelCommand
- //----------
- pascal void T%appname%App::Do%MenuItemName% ()
- {
- f%dlogname%->Open ();
- f%dlogname%->Select ();
-
- } /* Do%MenuItemName% */
-
- %endif%
- %endif%
- %endif%
- %case handleItem%
- %if commandNr > 999%
- case c%MenuName%%MenuItemName%:
- %if dialogExists%
- Do%dlogname% ();
- break;
- %else%
- // handle %MenuItemName% choice;
- break;
- %endif%
- %endif%
- %case enableItem%
- %if commandNr > 999%
- Enable (c%MenuName%%MenuItemName%, TRUE);
- %endif%
-